package com.hospital.phyexam.dao;

import com.hospital.phyexam.entity.PhyexamProject;
import com.hospital.phyexam.entity.PhyexamProjectExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PhyexamProjectMapper {
    long countByExample(PhyexamProjectExample example);

    int deleteByExample(PhyexamProjectExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PhyexamProject record);

    int insertSelective(PhyexamProject record);

    List<PhyexamProject> selectByExample(PhyexamProjectExample example);

    PhyexamProject selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PhyexamProject record, @Param("example") PhyexamProjectExample example);

    int updateByExample(@Param("record") PhyexamProject record, @Param("example") PhyexamProjectExample example);

    int updateByPrimaryKeySelective(PhyexamProject record);

    int updateByPrimaryKey(PhyexamProject record);
    PhyexamProject selectByProName(String name);
    List<PhyexamProject>selectAllPro();
    List<PhyexamProject>selectByOfficeId(int id);
    void deleteByOfficeId(int id);
}